package com.kuangstudy.service.archives;

import com.kuangstudy.vo.ArticleYearVo;

import java.util.List;
import java.util.Map;

/**
 * Description:
 * Author: yykk Administrator
 * Version: 1.0
 * Create Date Time: 2021/11/17 23:04.
 * Update Date Time:
 *
 * @see
 */
public interface IArchivesService {

    /**
     * 根据年份分组查询和分页文章信息
     *
     * @return
     */
    List<ArticleYearVo> findArticleYearVo();


    /**
     * 查询分页信息
     * @param year
     * @param pageNo
     * @param pageSize
     * @return
     */
    List<Map<String,Object>> findBlogByYear(Integer year, Integer pageNo, Integer pageSize);
}
